package com.rmb.test;

import cn.hutool.core.lang.Validator;
import com.alibaba.fastjson.JSON;
import com.google.errorprone.annotations.FormatString;

import javax.servlet.http.HttpServletRequest;

import java.util.*;

import static com.ruoyi.common.utils.ServletUtils.getRequest;

/**
 *@ClassName al           
 *@Description TODO               
 *@Author   lvshook                               
 *@Date 2021/1/20 12:39      
 *@Version 1.0                        
**/
public class al {

    public static final String YE = "01-01";
    public static final String YES = "12-01";

    public static void main(String[] args) {

        Map map = new HashMap(16);
        Calendar calendar = Calendar.getInstance();
        int a = calendar.get(Calendar.YEAR);
        List<String> datacome = new ArrayList();
        for (int i = 0; i < 12; i++) {
            datacome.add(a+"-"+(i+1)+"-01");
        }
        List<String> dataover = new ArrayList();
        for (int i = 0; i < 12; i++) {
            dataover.add(a+"-"+(i+1)+"-30");
        }
        for (int i = 0; i < datacome.size(); i++) {
           map.put(datacome.get(i), dataover.get(i));
        }

        Set set = map.entrySet();
        System.out.println(set);
        // Double consume = consumeMapper.getConsume(date1, date2, consumeTwo.getUid());





    }




}
